<%--
  Created by IntelliJ IDEA.
  User: 陈曦
  Date: 2025/6/11
  Time: 17:11
  To change this template use File | Settings | File Templates.
--%>
<form action="AddProductServlet" method="post" enctype="multipart/form-data">
  <label>ID：<input type="text" name="id" required></label><br>
  <label>名称：<input type="text" name="name" required></label><br>
  <label>价格：<input type="number" step="0.01" name="price" required></label><br>
  <label>库存：<input type="number" name="stock" required></label><br>
  <label>图片：<input type="file" name="image" accept="image/*" required></label><br>
  <button type="submit">提交</button>
</form>

